#!/bin/bash

D=`date`

cd /data/Xoso

if ps aux | grep 'python2.7 ' | grep -v grep >/dev/null ;
then
    cd /app/account_service
    else
        echo $D account service error >> /app/account_service/account.log
        python2.7 main_account.py >& /dev/null &

fi

